<%-- 
    Document   : register
    Created on : Mar 9, 2012, 11:39:53 PM
    Author     : Alex
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
           <%
            response.setHeader("Pragma","no-cache");
            response.setHeader("Cache-Control","no-store");
            response.setHeader("Expires","0");
            response.setDateHeader("Expires",-1);
        %>
        <title>JSP Page</title>
        <script  src="jquery.validate.js"></script>
        <script src="jquery.js"></script>
        <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
        <script src="jquery.js"></script>
        <script src="jquery.ui.core.js"></script>
        <script src="jquery.ui.widget.js"></script>
        <script src="jquery.ui.datepicker.js"></script>

    
    </head>

    <body>
        <h1>Register Page</h1>
        <form id="RegisterForm" action="RegisterServlet">
            
   
    
    
    Username:<input id="username" type="text" name="username"    class="required"  /> <p id= 'error'>   </p>
    Password:<input id="password" type="text" name="password"    class="required password"  /><p id= 'passerror'>  </p>
    Re-type Password:<input id="password2" type="text" name="retypepassword"  class="required" equalTo="#password1"  /><p id= 'passerror'>  </p>
    Billing/Delivery Address:<input id="textbox" type="text" name="address"   class="required" /> 
    <p id= 'passerror'>  </p>
    City: <input id="city" type="text" name="city"     class="required"/> <br>
    Postal:<input id="postal" type="text" name="postal" class="required zipcode"/><br>
    First Name:<input id="firstname" type="text" name="firstname"    class="required"/><p id= 'nameerror'> </p>
    Middle Name:<input id="middlename" type="text" name="middlename"    class="required"> <p id= 'emailerror'>  </p>
    Last Name:<input id="lastname" type="text" name="lastname"   class="required"> <p id= 'emailerror'>  </p>
    E-Mail Address:<input id="email" type="text" name="email"   class="required email"></br>
    Credit Card Name:<input type="text" name="creditname" id="ccname"/></br>
    Credit Card Number:<input type="text" name="creditnum" id="creditcard1"/></br>
    Date: <input type="text" name="expdate" id="expdate" /></br>
    Credit Card Type:        
            <select name ="credittype" id="type" class="creditCardType">
            <option value="">Choose Credit Card</option>
            <option value="Visa"> Visa </option>
            <option value="Mastercard"> Mastercard </option> 
                  
            </select></br>
   
        <!--   <img src="http://localhost:8080/SECPROGMP/CaptchaServlet"> </br>
      
         <input type="text" name="code"></input>
         </br></br></br>   -->
        
        
        <input type="submit" name="submit" value="Add Data"/>
    </form>
       
    </body>
</html>
